package org.looop.chuck.domain;

import java.text.MessageFormat;

public class AppInfo {

	private String name;
	private String url;
	private String category;
	private long categoryId;
	
	public long getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(long categoryId) {
		this.categoryId = categoryId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	
	@Override
	public String toString() {
		return "{" + MessageFormat.format("{0},{1},{2}", new Object[]{name, url, category}) + "}";
//		return ToStringBuilder.reflectionToString(this);
	}

}
